package com.xdf.ecommerce.dao;

import com.mybatisflex.core.BaseMapper;
import com.xdf.ecommerce.entity.EcommerceOrder;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author chanchaw
 * @create 2025-11-11 15:57
 */
public interface EcommerceOrderDao extends BaseMapper<EcommerceOrder> {
    @Select("select * from t_ecommerce_order where user_id = #{userId}")
    List<EcommerceOrder> find8UserId(@Param("userId") Long userId);
}
